package com.movie.ticket.sale.movieinterface.parm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ticket
 * @since 2020-12-03
 */
@Data
public class Discount implements Serializable {

    /**
     * 优惠券的金额
     */
    private Double amount;

    /**
     * 所需的积分
     */
    private Integer points;

    /**
     * 过期时间
     */
    private LocalDateTime endDate;



}
